package com.slmxz.tms.biz.model.vo;

import com.slmxz.tms.biz.model.entity.OrderCargo;
import io.swagger.v3.oas.annotations.media.Schema;
import com.slmxz.tms.biz.model.entity.Order;
import lombok.Getter;
import lombok.Setter;
import java.util.List;

/**
 * 订单视图对象
 *
 * @author sunyao
 *@Date 2024-10-08 16:58
 */
@Getter
@Setter
@Schema( description = "订单视图对象")
public class OrderVO extends  Order{
    /**
     * 搜索的内容，订单号,客户单号
     */
    private String keywords;
    private List<Long> ids;
    //客户名称
    private String customerName;
    //订单状态描述
    private String orderStatusLabel;
    //订单类型描述
    private String specialTypeLabel;
    //运输方式描述
    private String transportTypeLabel;

    /**起运地代码*/
    private String loadingLocationId;
    /**起运地名称*/
    private String loadingLocationName;
    /**起运地地址*/
    private String loadingAddress;
    private String loadingProvince;
    private String loadingCity;
    private String loadingDistrict;
    private String loadingLongitude;
    private String loadingLatitude;
    /**起运地联系人名称*/
    private String loadingLinkerName;
    /**起运地联系人电话*/
    private String loadingLinkerPhone;
    /**目的地代码*/
    private String dischargeLocationId;
    /**目的地名称*/
    private String dischargeLocationName;
    /**目的地地址*/
    private String dischargeAddress;
    private String dischargeProvince;
    private String dischargeCity;
    private String dischargeDistrict;
    private String dischargeLongitude;
    private String dischargeLatitude;
    /**目的地联系人名称*/
    private String dischargeLinkerName;
    /**目的地联系人电话*/
    private String dischargeLinkerPhone;
    /**
     * 订单货物信息
     */
    private List<OrderCargo> orderCargos;
}
